<!-- This test is intentionally in quirks mode -->
<style>
  div { color: green; }
</style>
<div>
  <div>This text should be green</div>
</div>
<div>
  <div>This text should be green</div>
</div>
